<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<c:choose>
<c:when test="${page.records.size() > 0}">
<c:forEach items="${page.records}" var="c" varStatus="status">
	<tr>
		<td>${c.customerNumber}</td>
		<td>${c.customerName}</td>
		<td>${c.address}</td>
		<td>
			<div class="btn-group">
				<button class="btn btn-info" onclick="modify('${c.seqId}');">修改</button>
			</div>
			<div class="btn-group">
				<button class="btn btn-danger" onclick="del('${c.seqId}');">删除</button>
			</div>
			<div class="btn-group">
				<button class="btn btn-success" onclick="move('${c.seqId}');">移动数据</button>
			</div>
		</td>
	</tr>
</c:forEach>
</c:when>
<c:otherwise>
	<tr><td colspan="4">暂无数据</td></tr>
</c:otherwise>
</c:choose>

<script>
	current = ${page.current};
	pages = ${page.pages};
	total = ${page.total};
	pageSize = ${page.size};
</script>